package sphere.model;

public class sphere {

		public double rayon;
	
		
		public double getRayon()
		{
			return this.rayon;
		}
		
		public sphere( double rayon)
		{
			this.rayon=rayon;
		}
		
		public double surface()
		{
			double surface;
			surface =4*(Math.PI)*Math.pow(rayon,2);
			return surface;
		}
	
		public double volume()
		{
			double volume;
			volume =(4/3)*(Math.PI)*Math.pow(rayon,3);
			return volume;
		}
		
		   public void setRayon(double rayon) {
               this.rayon = rayon;
       }
		   
		
}
